#include "Director.h"

Director::Director(Builder* builder)
{
	_builder = builder;
}

Director::~Director()
{
	delete _builder;
}

void Director::Construct()
{
	_builder->BuilderStudent();
	_builder->BuildFirstYear(70);
	_builder->BuildSecondYear(75);
	_builder->BuildThirdYear(85);
	_builder->BuildFourthYear(90);
}

Student* Director::GetStudent()
{
	return _builder->GetStudent();
}